package cn.tedu.egweibo5.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "微博内容", dataType = "string")
    private String content;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "微博发布时间", dataType = "datetime")
    private Date created;
    @ApiModelProperty(value = "微博id", dataType = "int")
    private Integer id;
    @ApiModelProperty(value = "用户昵称", dataType = "string")
    private String nickname;
}
